@tailwind base;
@tailwind components;
@tailwind utilities;

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

::-webkit-scrollbar {
    width: 0;
}

.markdown {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.markdown h1 {
    @apply text-2xl;
}

.markdown h2 {
    @apply text-xl;
}

.markdown h3 {
    @apply text-lg;
}

.markdown h4 {
    @apply text-sm;
}

.markdown p {
    @apply text-base;
}

.markdown ul {
    @apply list-disc;
}

.markdown ol {
    @apply list-decimal;
}

.markdown li {
    @apply ml-4;
}

.markdown a {
    @apply underline;
}

.markdown img {
    max-width: 630px;
    height: auto;
    @apply w-full;
}

.markdown pre {
    @apply bg-gray-100;
    border-radius: 8px;
    padding: 12px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
}

.markdown code {
    @apply bg-gray-100;
    order: 2;
    width: 100%;
    color: #1f2328;
    word-break: break-word;
    white-space: pre-wrap;
}

